package com.hxzy.module.admin.mapper;

import com.hxzy.module.admin.api.role.req.AdminRoleReq;
import com.hxzy.module.admin.api.role.resp.AdminRoleResp;
import com.hxzy.module.admin.entity.AdminRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 11452
* @description 针对表【admin_role(总部角色表)】的数据库操作Mapper
* @createDate 2024-01-28 10:57:27
* @Entity com.hxzy.module.admin.entity.AdminRole
*/
public interface AdminRoleMapper extends BaseMapper<AdminRole> {

    /**
     * 角色列表
     * @param req
     * @param merchantId
     * @return
     */
    List<AdminRoleResp> findRoleListRespByCondition(@Param(value = "req") AdminRoleReq req, @Param(value = "merchantId") Long merchantId);
}




